<template>
    <van-dialog v-model:show="show" title="请输入新密码" show-cancel-button>
        <van-field v-model="password1" type="password" label="密码" />
        <van-field v-model="password2" type="password" label="密码" />
    </van-dialog>
</template>

<script>

import { reactive,toRefs } from 'vue';

export default {
  setup(props) {
    const state = reactive({
        show:false
    })
    return {...toRefs(state)};
  },
};
</script>

<style scoped>

</style>